<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        height: 54px;
        width: 89px;
        margin: 300px auto;
        background-image: url('./picture/huochai.webp');
        background-color: skyblue;
        animation: item 300ms steps(5) infinite;
      }
      @keyframes item {
        from {
          background-position: 0 0;
        }
        to {
          background-position: calc(-89px * 5) 0;
        }
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
